<%-- 
    Document   : editQuestionDetail
    Created on : Mar 11, 2011, 4:18:02 PM
    Author     : ANHNQ
--%>

<%@page import="com.myapp.beans.CreateQuestion"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<html:html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Question Detail</h1>
        <%
            CreateQuestion questionBean = (CreateQuestion) session.getAttribute("questionToEdit");
        %>
        Question content: <%= questionBean.getQuestion() %>
    </body>
</html:html>
